<?php

class ReceiveClusterRoleChanged {
	private $message = "";
	private $auth = null;
	private $cp = null;
    function ReceiveClusterRoleChanged() {
    	$this->auth = new Authority();
		$this->cp = new ClusterParam();
    }
    
    public function run() {
    	if($_POST['IsSet']=="True") {
    		$this->message = $this->cp->getParamValue('SET_ADMIN_MESS');
    	}else if($_POST['IsSet']=="False"){
    		$this->message = $this->cp->getParamValue('REMOVE_ADMIN_MESS');
    	}
    }
    
	private function __get($property_name) {
		return $this-> $property_name;
	}

	private function __set($property_name, $value) {
		$this-> $property_name = $value;
	}
}
?>